package com.wyc.serviceDriverUser.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 司机出车状态
 * </p>
 *
 * @author li
 * @since 2023-03-26
 */
@Getter
@Setter
@TableName("driver_user_work_status")
public class DriverUserWorkStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId("id")
    private Long id;

    /**
     * 司机id
     */
    @TableField("driver_id")
    private Long driverId;

    /**
     * 收车：0；出车：1，暂停：2
     */
    @TableField("work_status")
    private Integer workStatus;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
